package bean;

/**
 * @author oyz
 */
public class UserService {

    private String name;

    public UserService(String name) {
        this.name = name;
    }
    public UserService(){};

    public void queryUserInfo(){
        System.out.println("查询用户信息");
    }


    static {
        System.out.println("输出...");
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("");
        sb.append("").append(name);
        return sb.toString();
    }
}
